package com.lin.exception;

public class da {

    public static void main(String[] args) throws MyException {

        try {
            int a=10;
            int b=0;
            int c=a/b;
            System.out.println(c);
        } catch (Exception e) {
            throw new MyException("自定义");
        }

    }
}
